package com.bigzero.workflow.modules.process.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 我的代办vo
 * @author fanxinxiong
 * @date 2025-02-14 14:22
 **/
@Data
public class TodoVo {

    /**任务id*/
    @Schema(description = "任务id")
    private String taskId;

    /**任务名称*/
    @Schema(description = "任务名称")
    private String taskName;

    /**流程实例id*/
    @Schema(description = "流程实例id")
    private String processInstanceId;

    /**节点key*/
    @Schema(description = "节点key")
    private String taskDefinitionKey;

    /**创建时间*/
    @Schema(description = "节点key")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;

    /**流程定义id*/
    @Schema(description = "流程定义id")
    private String processDefinitionId;

    /**流程定义名称*/
    @Schema(description = "流程定义名称")
    private String definitionName;

    /**流程定义key*/
    @Schema(description = "流程定义key")
    private String definitionKey;

    /**流程定义版本*/
    @Schema(description = "流程定义版本")
    private Integer definitionVersion;

    /**发起人用户id*/
    @Schema(description = "发起人用户id")
    private String startUserId;

    /**发起人用户名称*/
    @Schema(description = "发起人用户名称")
    private String startUserName;
}
